<template>
  <div class="moreSetting">
    <!-- 更多设置 -->
    <u-cell-group>
      <u-cell
        icon="account-fill"
        title="个人设置"
        isLink
        @click="toSingleSetting"
      ></u-cell>
      <u-cell
        icon="lock-fill"
        title="密码设置"
        isLink
        @click="toPassWordSetting"
      ></u-cell>
      <u-cell
        icon="https://oss-sf.giftwl.com/uploads/images/20250209/20494546a137019.png"
        title="隐私权限"
        isLink
        @click="toSecret('privacy')"
      ></u-cell>
      <u-cell
        icon="file-text-fill"
        title="用户协议"
        isLink
        @click="toSecret('service')"
      ></u-cell>
    </u-cell-group>
  </div>
</template>

<script>
export default {
  name: "moreSetting",
  components: {},
  data() {
    return {};
  },
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  computed: {},
  watch: {},
  methods: {
    toSingleSetting() {
      uni.navigateTo({
        url: "/pages/mine/updateUserInfo/updateUserInfo",
      });
    },
    toPassWordSetting() {
      uni.navigateTo({
        url: "/pages/setPassword/setPassword",
      });
    },
    toSecret(value) {
      uni.navigateTo({
        url: `/pages/mine/secret/secret?name=${value}`,
      });
    },
  },
};
</script>

<style scoped lang="scss"></style>
